Posts

Showing posts with the label oracle openworld 2019

Oracle 11g R2 install For Aix安装手册

Image
Oracle 11g R2 安装手册 ( 图文教程 )For Aix 一、确认系统硬件环境     Oracle 10g 最低安装要求:       512M 物理内存、 MIN(RAM*2, 2G ) SWAP 空间、 400M /TMP 空间、 4G Oracle 目录空间、 64 位体系结构   下面是确认过程:     1 、确认内存大小( 1G )       localhost> /usr/sbin/lsattr -E -l sys0 -a realmem         realmem 1048576 Amount of usable physical memory in Kbytes False        这里 oracle 10g 安装文档写错了,将“ sys0 (数字 0 )”写成了“ sysO (字母 O )”。     2 、确认 SWAP 空间, 512M 太小了,加到 2G 。       localhost> /usr/sbin/lsps -a         Page Space Physical Volume Volume Group Size %Used Active Auto Type         hd6 hdisk0 rootvg 512MB 12 yes yes lv      3 、确认 /TMP 和 Oracle 目录空间(其中 Oracle 10g 放在 /data1 下):       localhost> df -k       ...

ORACLE常见问题及解决方法

Image
ORACLE 常见问题及解决方法 ORACLE 安装后常用参数设置 参数 说明 参考设置 db_writer_processes 配置为 CPU 内核数的一半 4 open_cursors 根据 AS 数量及 AS 连接数,配置为 3000 ~ 5000 5000 optimizer_mode RULE RULE pga_aggregate_target 同样,也与根据 AS 数量及 AS 连接数相关,一般为 1500 ~ 3000 。一般 1G ~ 3G 3G processes 进程数,即可以对外提供服务的数据。同样,也与根据 AS 数量及 AS 连接数相关,一般为 1500 ~ 3000 2000 session_cached_cursors 300 sessions 设置 processes 后自动调整。 2205 sga_max_size 内存的一半,如果存储使用的是裸设备,可以提高到 60% 10G sga_target 同上;若设置为小于等 sga_max_size ,可动态修改;否则则需要先设置 sga_max_size 10G shared_pool_size 不超过 800M ,一般 3 00M 到 500M 就足够了 800M 注意: ORCALE 基于 Linux 平安的 RAC 不可设 sga 太大,否则可能会有问题。具体参见第 9 章 11 节。 SQL> sqlplus / as sysdba 当前参数值查看方法如下 (open_cursors) : SQL> show parameter open_cursors; ORCALE 参数设置方法如下: SQL> alter system set open_cursors = 4000;    ...